﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SerialCapture
{
    [Serializable]
    public class Config
    {
        public Project myProject = new Project();
        public GenSettings myGenSettings = new GenSettings();
    }

    [Serializable]
    public class Project {
        public string name;
        public VSerial mySerial = new VSerial();
    }
    [Serializable]
    public class VSerial {
        public string myName;
        public SerialPortBaudRates myBaudRate;
        public SerialPortDatabits myDataBits;
        public System.IO.Ports.StopBits myStopBits;
        public System.IO.Ports.Parity myParity;
        public System.IO.Ports.Handshake myFlowControl;
    }
    [Serializable]
    public class GenSettings{
        public int sizeLimit;
        public string traceFolder;
        public Boolean KPIActive;
    }
   
}
